﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    schema="dbo" 
    assembly="Simnova.Collaborate.ServiceContract"
    namespace="Simnova.Collaborate.ServiceContract.DataClasses" 
    >
    <class 
       name="Task" 
       table="task"
       lazy="false"
     >
        <id 
           name="taskId" 
           type="Int32" 
           column="taskId" 
           unsaved-value="0"
           access="field">
            <generator class="identity" />
        </id>
        <property 
            name="userId"
            column="userId" 
            access="field"
            >
        </property>
        <property 
            name="projectId"
            column="projectId" 
            access="field"
            >
        </property>
        <property 
            name="name"
            column="name" 
            access="field"
            >
        </property>
        <property
            name="isComplete"
            column="isComplete"
            access="field"
            >
        </property>
        <property
            name="estimatedHours"
            column="estimatedHours"
            access="field"
            >
        </property>
    </class>
</hibernate-mapping>